package cn.vcjf.washcar.server.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableName;

import java.math.BigDecimal;

/**
 * <p>
 * 服务种类信息表
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-17
 */
@TableName("server_info")
public class ServerInfo extends PageModel {

	private static final long serialVersionUID = 1L;

	private Integer id;

	/**
	 * 服务名称
	 */
	private String serverName;

	/**
	 * 服务价格
	 */
	private BigDecimal price;

	/**
	 * 优惠价格
	 */
	private BigDecimal discounts;
	/**
	 * 服务类型
	 */
	private Integer type;

	/**
	 * 服务级别排序
	 */
	private Integer sort;

	/**
	 * 备注
	 */
	private String remakes;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getType() {
		return type;
	}

	public BigDecimal getDiscounts() {
		return discounts;
	}

	public void setDiscounts(BigDecimal discounts) {
		this.discounts = discounts;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}


	public String getRemakes() {
		return remakes;
	}

	public void setRemakes(String remakes) {
		this.remakes = remakes;
	}

	@Override
	public void preInsert() {
		super.preInsert();
	}

	@Override
	public void preUpdate() {
		super.preUpdate();
	}

	@Override
	public String toString() {
		return "ServerInfo{" +
				"id=" + id +
				", serverName=" + serverName +
				", price=" + price +
				", type=" + type +
				", sort=" + sort +
				", remakes=" + remakes +
				", createUser=" + createUser +
				", createTime=" + createTime +
				", updateUser=" + updateUser +
				", updateTime=" + updateTime +
				", deleteFlag=" + deleteFlag +
				"}";
	}
}
